package org.kaka.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_chapter")
public class ChapterDto {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long bookId;
    private String title;
    @TableField("`index`")
    private Long index;
    @TableField(exist = false)
    private String bookName;
}
